﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Configuration;

namespace Tencent.OA.App
{
    public class PagerSection : ConfigurationSection
    {
        /// <summary>
        /// <para> 定义一个 PagerSection 配置节的节点名。</para>
        /// </summary>
        public static readonly string PagerSectionKey = "pager";

        [ConfigurationProperty("defaultPageSize", DefaultValue = 20)]
        public int PagerDefaultPageSize
        {
            get { return (int)this["defaultPageSize"]; }
            set { this["defaultPageSize"] = value; }
        }
    }
}
